﻿using System;

namespace SfsTools.Core
{
    /// <summary>
    /// Interface for <see cref="FileSystemObject"/> visitor objects.
    /// </summary>
    internal interface IFileSystemObjectInternalVisitor
    {
        /// <summary>
        /// Called by <see cref="Directory"/> objects.
        /// </summary>
        /// <param name="directory">The directory.</param>
        void VisitDirectory(Directory directory);

        /// <summary>
        /// Called by <see cref="File"/> objects.
        /// </summary>
        /// <param name="file">The file.</param>
        void VisitFile(File file);
    }
}
